var c = 0

const b = async () => {
    // 这里的c在第一次走到这儿就被保存了
    c = c + await 10;
    console.log('res2=', c)
    c = (await 10) + c
    console.log('res3=', c)
}

b()
c++
console.log('res1=', c)